package com.tencreat.domain.mall.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.Max;
import javax.validation.constraints.Min;
import javax.validation.constraints.NotNull;

/**
 * 供应商审核
 * @author zixin
 */
@Data
public class MallSupplierAuditDTO {

    @ApiModelProperty(value = "id", required = true)
    @NotNull
    private Long id;

    @ApiModelProperty(value = "密码", required = true)
    private String password;

    @ApiModelProperty(value = "类型0|驳回,1|通过", required = true)
    @NotNull
    @Min(value = 0)
    @Max(value = 1)
    private Integer type;

}
